﻿

function escreve_memoria(cmd)
	for i = 1, cmd.len(cmd) do
		numero[i+6] = cmd.byte(cmd,i)
		
	end
	numero[cmd.len(cmd)+7]=0;
	numero[6]=1; -- flag: significa que o wowcon deve ler

end
 
function ler_memoria()
	s = ""
	for i = 7, tam_frase do
		if numero[i]>0 and numero[i]<=255 then
		s = s .. string.char(numero[i])
		end
		if numero[i]==0 then
			break
		end
	end
	acione(s)
end


function limpa_memoria()
	for i = 7, tam_frase do
		numero[i] = 35
	end
end


function atualiza()
	if numero[6] == 2 then -- flag: posso limpar a memoria
		numero[6]=0 -- reseta flag
		limpa_memoria()
		
	end
	if numero[6] == 3 then -- flag: posso ler a memoria
		numero[6]=0 -- reseta flag
		ler_memoria()
		
	end
end

function traduz_enpt(msg)
	escreve_memoria("<say>enpt"..msg)
end



function acione(msg)
  if msg.find(msg,"<gossip_text>") then
		msg= msg.gsub(msg,"<gossip_text>","")
		gossip_text_traduzido = msg
		if gossip_original:GetChecked() == nil then
			GossipGreetingText:SetText(msg)
		end
		
  elseif msg.find(msg,"<quest_progress>") then
		msg= msg.gsub(msg,"<quest_progress>","")
		QuestProgressText:SetText(msg)
		
  else
	msg = msg.gsub(msg,"pten","")
	msg = msg.gsub(msg,"enpt","")
	chat = msg.match(msg,"<(%a+)>")
	msg = msg.gsub(msg,"<"..chat..">","")
	SendChatMessage(msg,chat,nil,"2")
  end
end

gossip_text_original = ""
gossip_text_traduzido = ""

function toogle_gossip_traducao()
	if gossip_original:GetChecked() == 1 then
		GossipGreetingText:SetText(gossip_text_original)
	else
		GossipGreetingText:SetText(gossip_text_traduzido)
	end

end


function filtra_say(self, event, msg, ...)
	local chat_id = self:GetID()
	if chat_id == 1 then
		if msg.find(msg,"pten") then
			msg="<SAY>"..msg
			print("traduzindo..." .. chat_id)
			escreve_memoria(msg)
			return true, msg, ...
		end
		
		if msg.find(msg,"enpt") then
			msg="<SAY>"..msg
			print("traduzindo..." .. chat_id)
			escreve_memoria(msg)
			return true, msg, ...
		end
	else 
			return false, msg, ...
	end
end

ChatFrame_AddMessageEventFilter("CHAT_MSG_SAY", filtra_say)
--ChatFrame_AddMessageEventFilter("CHAT_MSG_WISPER", addLootIcons)


local frame = CreateFrame("FRAME"); -- Need a frame to respond to events
-- frame:RegisterEvent("ADDON_LOADED"); -- Fired when saved variables are loaded
-- frame:RegisterEvent("PLAYER_LOGOUT"); -- Fired when about to log out
frame:RegisterEvent("GOSSIP_SHOW"); 

-- frame:RegisterEvent("QUEST_DETAIL"); 
frame:RegisterEvent("QUEST_PROGRESS");
-- frame:RegisterEvent("QUEST_ACCEPTED");
-- frame:RegisterEvent("GOSSIP_CLOSED");  
-- frame:RegisterEvent("GOSSIP_CONFIRM"); 
-- frame:RegisterEvent("GOSSIP_CONFIRM_CANCEL"); 
-- frame:RegisterEvent("QUEST_FINISHED"); 
-- frame:RegisterEvent("QUEST_COMPLETE")

function frame:OnEvent(event, arg1)
    -- log("FIRE event:" .. event)

    -- if event == "ADDON_LOADED" and arg1 == "PortugueseQuest" then
    	-- inicia_variaveis()
        -- log("PortugueseQuest carregado");

    if  event == "QUEST_PROGRESS"  then
        escreve_memoria("<quest_progress>"..QuestProgressText:GetText())
        -- mostra_questprogress(event,arg1)
	elseif event == "GOSSIP_SHOW" then 
		gossip_text_original = GossipGreetingText:GetText()
		escreve_memoria("<gossip_text>"..GossipGreetingText:GetText())
	end
    -- elseif  event == "QUEST_ACCEPTED"  then
        -- salva_quest()

    -- elseif event =="QUEST_COMPLETE" then
        -- log("hahaa")
        -- quest_estado = "complete"
        -- log(GetRewardText())
        -- salveQuestCompleteInfo()

    -- elseif  event == "QUEST_DETAIL"  then
        -- quest_estado = "detalhe"
    	-- log("fire:"..event)
    -- elseif event == "GOSSIP_CLOSED" or event=="GOSSIP_CONFIRM" or event == "GOSSIP_CONFIRM_CANCEL"  then
        -- quest_estado = "..."
        -- log("gossipClose");
-- --- unit events
   -- elseif event== "PLAYER_TARGET_CHANGED" then
        -- salve_unit_info()
   -- elseif event== "TRAINER_SHOW" then
        -- salve_trainer_info()
   -- elseif event== "GOSSIP_SHOW" then
        -- salve_gossip_info()
-- ----
    -- elseif event == "PLAYER_LOGOUT" then
         -- salva_quest()
        -- log("Bye!!!");
    -- end
        -- log("Quest estado = '".. quest_estado.."'");    
	
end
frame:SetScript("OnEvent", frame.OnEvent);

---------------------------------------------------------------------------------
----------------------- fim do codigo das funções -------------------------------
---------------------------------------------------------------------------------

-- tamanho da frase de comunicacao enre o addom e o programa wowcon
tam_frase = 4000
-- numero para ser procurado pelo programa wowcon e efetuar a conexao com o addom.
numero ={2863311531,86331153,633115,3311,31,0,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,
35,35,35,35,35,35,35,35,35,35,}

